package com.haixiaoke.saas.repository.pojo;

import com.haixiaoke.saas.repository.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 公众号留咨信息对象 op_lead
 *
 * @author qixi
 * @date 2024-01-16
 */
public class OpLead extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;
    private Long opHouseId;

    /** 机构id */
    // @Excel(name = "机构id")
    private Long orgId;

    /** 用户名 */
    // @Excel(name = "用户名")
    private String name;

    /** 手机号 */
    // @Excel(name = "手机号")
    private String phone;

    /** 留言 */
    // @Excel(name = "留言")
    private String leaveMsg;

    /** 处理状态：1待处理 2已处理 3已结束 */
    // @Excel(name = "处理状态：1待处理 2已处理 3已结束")
    private Long handleStatus;

    /** 处理人id */
    // @Excel(name = "处理人id")
    private String handleBy;

    private OpHouse opHouse;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrgId(Long orgId)
    {
        this.orgId = orgId;
    }

    public Long getOrgId()
    {
        return orgId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setLeaveMsg(String leaveMsg)
    {
        this.leaveMsg = leaveMsg;
    }

    public String getLeaveMsg()
    {
        return leaveMsg;
    }
    public void setHandleStatus(Long handleStatus)
    {
        this.handleStatus = handleStatus;
    }

    public Long getHandleStatus()
    {
        return handleStatus;
    }
    public void setHandleBy(String handleBy)
    {
        this.handleBy = handleBy;
    }

    public String getHandleBy()
    {
        return handleBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orgId", getOrgId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("leaveMsg", getLeaveMsg())
            .append("handleStatus", getHandleStatus())
            .append("handleBy", getHandleBy())
            .append("remark", getRemark())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }

    public Long getOpHouseId() {
        return opHouseId;
    }

    public void setOpHouseId(Long opHouseId) {
        this.opHouseId = opHouseId;
    }

    public OpHouse getOpHouse() {
        return opHouse;
    }

    public void setOpHouse(OpHouse opHouse) {
        this.opHouse = opHouse;
    }
}
